const urllib= require('url');

var obj=urllib.parse('http://localhost:8080/aaa?user=455465&pass=546',true);

console.log(obj);